package com.ruoyi.zsyh.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 大区会长预订单详细对象 zsyh_agent_order_rel
 * 
 * @author yuexl
 * @date 2021-12-15
 */
public class ZsyhAgentOrderRel extends BaseEntity implements Cloneable
{
    private static final long serialVersionUID = 1L;

    private static ZsyhAgentOrderRel rel = new ZsyhAgentOrderRel();

    public static ZsyhAgentOrderRel getInstance(){
        try{
            return (ZsyhAgentOrderRel) rel.clone();
        }catch (CloneNotSupportedException e){
            e.printStackTrace();
        }
        return new ZsyhAgentOrderRel();
    }

    /** 主键 */
    private String id;

    @Excel(name = "厂家名称")
    private String factoryName;
    @Excel(name = "产品名称")
    private String partsName;
    @Excel(name = "规格名称")
    private String attributeName;

    /** 订单id */
    /*@Excel(name = "订单id")*/
    private String orderId;

    /** 配件id */
    /*@Excel(name = "配件id")*/
    private String partsId;

    /** 型号id */
    /*@Excel(name = "型号id")*/
    private String attributeId;

    /** 预订数量 */
    @Excel(name = "预定数量")
    private String orderCount;

    /** 单价 */
    @Excel(name = "预定金额")
    private BigDecimal orderPrice;

    /** 发货数量 */
    @Excel(name = "发货数量")
    private String orderSellCount;

    @Excel(name = "发货金额")
    private BigDecimal orderSellPrice;


    private String partsUnit;

    private String attributeLogo;

    private String attributeIsPost;

    private String orderName;

    private String orderAddress;


    private int periodYear;

    private int periodMonth;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setPartsId(String partsId) 
    {
        this.partsId = partsId;
    }

    public String getPartsId() 
    {
        return partsId;
    }
    public void setAttributeId(String attributeId) 
    {
        this.attributeId = attributeId;
    }

    public String getAttributeId() 
    {
        return attributeId;
    }
    public void setOrderCount(String orderCount) 
    {
        this.orderCount = orderCount;
    }

    public String getOrderCount() 
    {
        return orderCount;
    }
    public void setOrderPrice(BigDecimal orderPrice) 
    {
        this.orderPrice = orderPrice;
    }

    public BigDecimal getOrderPrice() 
    {
        return orderPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("partsId", getPartsId())
            .append("attributeId", getAttributeId())
            .append("orderCount", getOrderCount())
            .append("orderPrice", getOrderPrice())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public String getOrderSellCount() {
        return orderSellCount;
    }

    public void setOrderSellCount(String orderSellCount) {
        this.orderSellCount = orderSellCount;
    }

    public String getPartsName() {
        return partsName;
    }

    public void setPartsName(String partsName) {
        this.partsName = partsName;
    }

    public String getPartsUnit() {
        return partsUnit;
    }

    public void setPartsUnit(String partsUnit) {
        this.partsUnit = partsUnit;
    }

    public String getAttributeName() {
        return attributeName;
    }

    public void setAttributeName(String attributeName) {
        this.attributeName = attributeName;
    }

    public String getAttributeLogo() {
        return attributeLogo;
    }

    public void setAttributeLogo(String attributeLogo) {
        this.attributeLogo = attributeLogo;
    }

    public String getAttributeIsPost() {
        return attributeIsPost;
    }

    public void setAttributeIsPost(String attributeIsPost) {
        this.attributeIsPost = attributeIsPost;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    public String getOrderAddress() {
        return orderAddress;
    }

    public void setOrderAddress(String orderAddress) {
        this.orderAddress = orderAddress;
    }

    public int getPeriodYear() {
        return periodYear;
    }

    public void setPeriodYear(int periodYear) {
        this.periodYear = periodYear;
    }

    public int getPeriodMonth() {
        return periodMonth;
    }

    public void setPeriodMonth(int periodMonth) {
        this.periodMonth = periodMonth;
    }

    public BigDecimal getOrderSellPrice() {
        return orderSellPrice;
    }

    public void setOrderSellPrice(BigDecimal orderSellPrice) {
        this.orderSellPrice = orderSellPrice;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }
}
